<form class="form" novalidate name="platForm">
    <div class="modal-header">
        <h4 class="modal-title">
            <span ng-if="vm.item">平台编辑</span>
            <span ng-if="!vm.item">基本资料</span>
        </h4>
    </div>
    <div class="modal-body">
        <div class="form-group height-60">
            <label for="platName">平台名称<span class="require"></span></label>
            <input type="text" name="platName" ng-class="{error: platForm.platName.$invalid && !platForm.platName.$pristine}" ng-blur="vm.checkValid(platForm.platName)" class="form-control" ng-model="vm.data.platName" id="platName" required placeholder="平台名称" />
            <span class="error" ng-show="platForm.platName.$invalid && !platForm.platName.$pristine">平台名称不能为空</span>
        </div>
        <div class="form-group height-60">
            <label for="platSysNbr">平台编码<span class="require"></span></label>
            <input type="text" name="platSysNbr" ng-class="{error: platForm.platSysNbr.$invalid && !platForm.platSysNbr.$pristine}" ng-blur="vm.checkValid(platForm.platSysNbr)" class="form-control" ng-model="vm.data.platSysNbr" id="platSysNbr" required placeholder="平台编码" />
            <span class="error" ng-show="platForm.platSysNbr.$invalid && !platForm.platSysNbr.$pristine">平台不编码能为空</span>
        </div>
        <div class="form-group height-60">
            <label for="crtVersion">平台版本<span class="require"></span></label>
            <input type="text" name="crtVersion" ng-class="{error: platForm.crtVersion.$invalid && !platForm.crtVersion.$pristine}" ng-blur="vm.checkValid(platForm.crtVersion)" class="form-control" ng-model="vm.data.crtVersion" id="crtVersion" required placeholder="平台版本" />
            <span class="error" ng-show="platForm.crtVersion.$invalid && !platForm.crtVersion.$pristine">平台不编码能为空</span>
        </div>
        <div class="form-group height-60">
            <label for="statusCd">平台状态<span class="require"></span></label>
            <select name="statusCd" ng-change="vm.checkValid(platForm.statusCd)" ng-model="vm.data.statusCd" ng-class="{error: platForm.statusCd.$invalid && !platForm.statusCd.$pristine}" ng-options="k as v for (k,v) in vm.select.status" required id="statusCd" class="form-control" >
                <option value="">请选平台状态</option>
            </select>
            <span class="error" ng-show="platForm.statusCd.$invalid && !platForm.statusCd.$pristine">平台状态不能为空</span>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-primary btn-xl" ng-disabled="platForm.$invalid" ng-click="vm.save()"><span ng-if="vm.submitting"><i class="fa fa-spin fa-spinner"></i></span>保存</button>
        <button type="button" class="btn btn-default btn-xl" ng-click="vm.cancel()">取消</button>
    </div>
</form>